right click vs left click pygame

33

1 - left click
2 - middle click
3 - right click
4 - scroll up
5 - scroll down
if event.type == pygame.MOUSEBUTTONDOWN:
    print(event.button)

Comments

Submit
0 Comments